package com.bank.model;

public class Stock {
    private String sid;
    private String name;
    private String description;
    private String price;
    private String risk;
    private String type;

    public Stock() {
    }

    public Stock(String sid, String name, String description, String price,String risk, String type) {
        this.sid = sid;
        this.name = name;
        this.description = description;
        this.price = price;
        this.risk = risk;
        this.type = type;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getRisk() {
        return risk;
    }

    public void setRisk(String risk) {
        this.risk = risk;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Stock{" +
                "sid='" + sid + '\'' +
                ", name='" + name + '\'' +
                ", description='" + description + '\'' +
                ", price='" + price + '\'' +
                ", risk='" + risk + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
